package com.changgou.system.confing;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: HuangFu
 * @Date: 2020/1/16 16:15
 * @Description: 黑白名单过滤器属性类
 */
@Component
@ConfigurationProperties(prefix = "system.filter")
public class FilterListProperties {

    private String[] ips;

    private String[] urls;

    public String[] getIps() {
        return ips;
    }

    public void setIps(String[] ips) {
        this.ips = ips;
    }

    public String[] getUrls() {
        return urls;
    }

    public void setUrls(String[] urls) {
        this.urls = urls;
    }
}
